package cn.com.huzo.model.entities.inventory;

import com.fasterxml.jackson.annotation.JsonFormat;
import huzofw.model.entities.IAggregateRoot;
import java.io.Serializable;
import java.sql.Timestamp;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 入库明细实体类
 *
 * @author 吴旭
 */
public class ReportInventoryDetailEntity implements Serializable, IAggregateRoot {

    private static final long serialVersionUID = 2149316295042139654L;
    private String PoLinesId;
    private String PoNo;
    private String StyleNo;
    private String SupplierName;
    private String MaterialCode;
    private String MaterialName;
    private String Specification;
    private String MaterialColourName;
    private String UomName;
    private String PartOfNeed;
    private Double PoQuantity;
    private Double PoQuantityWithLoss;
    private Double StockInQuantity;
    private Timestamp OrderArrivalDate;      // 订单到货日期
    private Timestamp ArrivalDate;           // 到货日期
    private Integer Days;                    // 相差天数
    private Double TotalStockInQuantity;     // 分次入库的总入库数
    private Double DiffQuantity;             // 相差数量
    private Double PayabledAmount;           // 对账金额
    private Double CutPayabledAmount;        // 晚到料扣款金额
    private Short RowFlag;
    private Short Rows;

    public String getPoLinesId() {
        return PoLinesId;
    }

    public void setPoLinesId(String PoLinesId) {
        this.PoLinesId = PoLinesId;
    }

    public String getPoNo() {
        return PoNo;
    }

    public void setPoNo(String PoNo) {
        this.PoNo = PoNo;
    }

    public String getStyleNo() {
        return StyleNo;
    }

    public void setStyleNo(String StyleNo) {
        this.StyleNo = StyleNo;
    }

    public String getSupplierName() {
        return SupplierName;
    }

    public void setSupplierName(String SupplierName) {
        this.SupplierName = SupplierName;
    }

    public String getMaterialCode() {
        return MaterialCode;
    }

    public void setMaterialCode(String MaterialCode) {
        this.MaterialCode = MaterialCode;
    }

    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String MaterialName) {
        this.MaterialName = MaterialName;
    }

    public String getSpecification() {
        return Specification;
    }

    public void setSpecification(String Specification) {
        this.Specification = Specification;
    }

    public String getMaterialColourName() {
        return MaterialColourName;
    }

    public void setMaterialColourName(String MaterialColourName) {
        this.MaterialColourName = MaterialColourName;
    }

    public String getUomName() {
        return UomName;
    }

    public void setUomName(String UomName) {
        this.UomName = UomName;
    }

    public String getPartOfNeed() {
        return PartOfNeed;
    }

    public void setPartOfNeed(String PartOfNeed) {
        this.PartOfNeed = PartOfNeed;
    }

    public Double getPoQuantity() {
        return PoQuantity;
    }

    public void setPoQuantity(Double PoQuantity) {
        this.PoQuantity = PoQuantity;
    }

    public Double getPoQuantityWithLoss() {
        return PoQuantityWithLoss;
    }

    public void setPoQuantityWithLoss(Double PoQuantityWithLoss) {
        this.PoQuantityWithLoss = PoQuantityWithLoss;
    }

    public Double getStockInQuantity() {
        return StockInQuantity;
    }

    public void setStockInQuantity(Double StockInQuantity) {
        this.StockInQuantity = StockInQuantity;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getOrderArrivalDate() {
        return OrderArrivalDate;
    }

    public void setOrderArrivalDate(Timestamp OrderArrivalDate) {
        this.OrderArrivalDate = OrderArrivalDate;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getArrivalDate() {
        return ArrivalDate;
    }

    public void setArrivalDate(Timestamp ArrivalDate) {
        this.ArrivalDate = ArrivalDate;
    }

    public Integer getDays() {
        return Days;
    }

    public void setDays(Integer Days) {
        this.Days = Days;
    }

    public Double getTotalStockInQuantity() {
        return TotalStockInQuantity;
    }

    public void setTotalStockInQuantity(Double TotalStockInQuantity) {
        this.TotalStockInQuantity = TotalStockInQuantity;
    }

    public Double getDiffQuantity() {
        return DiffQuantity;
    }

    public void setDiffQuantity(Double DiffQuantity) {
        this.DiffQuantity = DiffQuantity;
    }

    public Double getPayabledAmount() {
        return PayabledAmount;
    }

    public void setPayabledAmount(Double PayabledAmount) {
        this.PayabledAmount = PayabledAmount;
    }

    public Double getCutPayabledAmount() {
        return CutPayabledAmount;
    }

    public void setCutPayabledAmount(Double CutPayabledAmount) {
        this.CutPayabledAmount = CutPayabledAmount;
    }

    public Short getRowFlag() {
        return RowFlag;
    }

    public void setRowFlag(Short RowFlag) {
        this.RowFlag = RowFlag;
    }

    public Short getRows() {
        return Rows;
    }

    public void setRows(Short Rows) {
        this.Rows = Rows;
    }

}
